package yws01.Model;

import org.springframework.stereotype.Component;

@Component
public class Cheka {
    public int chekabianhao;
    public String chekaxinghao;
    public int chezhubianhao;
    public int cheweibianhao;

    public int getChekabianhao() {
        return chekabianhao;
    }

    public void setChekabianhao(int chekabianhao) {
        this.chekabianhao = chekabianhao;
    }

    public String getChekaxinghao() {
        return chekaxinghao;
    }

    public void setChekaxinghao(String chekaxinghao) {
        this.chekaxinghao = chekaxinghao;
    }

    public int getChezhubianhao() {
        return chezhubianhao;
    }

    public void setChezhubianhao(int chezhubianhao) {
        this.chezhubianhao = chezhubianhao;
    }

    public int getCheweibianhao() {
        return cheweibianhao;
    }

    public void setCheweibianhao(int cheweibianhao) {
        this.cheweibianhao = cheweibianhao;
    }

    @Override
    public String toString() {
        return "Cheka{" +
                "chekabianhao=" + chekabianhao +
                ", chekaxinghao=" + chekaxinghao +
                ", chezhubianhao=" + chezhubianhao +
                ", cheweibianhao=" + cheweibianhao +
                '}';
    }
}
